package com.nisco.dms.repository;


import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import com.nisco.dms.entity.Permission;

public interface PermissionDao extends JpaRepository<Permission, String> 
{
	Page<Permission> findByProgramId(String programId,Pageable pageable);
	
	List<Permission> findByProgramId(String programId);
}
